package com.wcpdoc.api.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

/**
 * @author . H
 * @description TODO 描述：
 * @date 2023/11/19 下午6:58
 */
public class UserEntity {

    @ExcelProperty("姓名")
    @ColumnWidth(30)
    private String name;
    @ExcelProperty("性别")
    @ColumnWidth(30)
    private String sex;
    @ExcelProperty("登录账号")
    @ColumnWidth(30)
    private String loginName;
    @ExcelProperty("所属机构")
    @ColumnWidth(30)
    private String orgName;
    @ExcelProperty("状态")
    @ColumnWidth(30)
    private String state;

    @ExcelProperty("标签")
    @ColumnWidth(30)
    private String labelId;

    @ExcelProperty("手机号")
    @ColumnWidth(11)
    private String phone;

    @ExcelProperty("邮箱")
    @ColumnWidth(64)
    private String email;

    public UserEntity() {
    }


    @Override
    public String toString() {
        return "UserEntity{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", loginName='" + loginName + '\'' +
                ", orgName='" + orgName + '\'' +
                ", state='" + state + '\'' +
                ", labelId='" + labelId + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getLabelId() {
        return labelId;
    }

    public void setLabelId(String labelId) {
        this.labelId = labelId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public UserEntity(String name, String sex, String loginName, String orgName, String state, String labelId, String phone, String email) {
        this.name = name;
        this.sex = sex;
        this.loginName = loginName;
        this.orgName = orgName;
        this.state = state;
        this.labelId = labelId;
        this.phone = phone;
        this.email = email;
    }
}
